package com.ruicar.afs.jobadmin.core.model;

import java.util.Date;

/**
 * The type AfsJobLog
 * <p>Description: </p>
 *
 * @author Fzero
 * @version 1.0
 * @date Created on 2020.06.13 14:17:08
 * @since 1.0
 */
public class AfsJobLog {

    /**
     * Id
     * <p>Description: </p>
     */
    private long id;

    /**
     * Job group
     * <p>Description: </p>
     */
// job info
    private int jobGroup;
    /**
     * Job id
     * <p>Description: </p>
     */
    private int jobId;

    /**
     * Executor address
     * <p>Description: </p>
     */
// execute info
    private String executorAddress;
    /**
     * Executor handler
     * <p>Description: </p>
     */
    private String executorHandler;
    /**
     * Executor param
     * <p>Description: </p>
     */
    private String executorParam;
    /**
     * Executor sharding param
     * <p>Description: </p>
     */
    private String executorShardingParam;
    /**
     * Executor fail retry count
     * <p>Description: </p>
     */
    private int executorFailRetryCount;

    /**
     * Trigger time
     * <p>Description: </p>
     */
// trigger info
    private Date triggerTime;
    /**
     * Trigger code
     * <p>Description: </p>
     */
    private int triggerCode;
    /**
     * Trigger msg
     * <p>Description: </p>
     */
    private String triggerMsg;

    /**
     * Handle time
     * <p>Description: </p>
     */
// handle info
    private Date handleTime;
    /**
     * Handle code
     * <p>Description: </p>
     */
    private int handleCode;
    /**
     * Handle msg
     * <p>Description: </p>
     */
    private String handleMsg;

    /**
     * Alarm status
     * <p>Description: </p>
     */
// alarm info
    private int alarmStatus;

    /**
     * Gets id *
     *
     * @return the id
     */
    public long getId() {
        return id;
    }

    /**
     * Sets id *
     *
     * @param id id
     */
    public void setId(long id) {
        this.id = id;
    }

    /**
     * Gets job group *
     *
     * @return the job group
     */
    public int getJobGroup() {
        return jobGroup;
    }

    /**
     * Sets job group *
     *
     * @param jobGroup job group
     */
    public void setJobGroup(int jobGroup) {
        this.jobGroup = jobGroup;
    }

    /**
     * Gets job id *
     *
     * @return the job id
     */
    public int getJobId() {
        return jobId;
    }

    /**
     * Sets job id *
     *
     * @param jobId job id
     */
    public void setJobId(int jobId) {
        this.jobId = jobId;
    }

    /**
     * Gets executor address *
     *
     * @return the executor address
     */
    public String getExecutorAddress() {
        return executorAddress;
    }

    /**
     * Sets executor address *
     *
     * @param executorAddress executor address
     */
    public void setExecutorAddress(String executorAddress) {
        this.executorAddress = executorAddress;
    }

    /**
     * Gets executor handler *
     *
     * @return the executor handler
     */
    public String getExecutorHandler() {
        return executorHandler;
    }

    /**
     * Sets executor handler *
     *
     * @param executorHandler executor handler
     */
    public void setExecutorHandler(String executorHandler) {
        this.executorHandler = executorHandler;
    }

    /**
     * Gets executor param *
     *
     * @return the executor param
     */
    public String getExecutorParam() {
        return executorParam;
    }

    /**
     * Sets executor param *
     *
     * @param executorParam executor param
     */
    public void setExecutorParam(String executorParam) {
        this.executorParam = executorParam;
    }

    /**
     * Gets executor sharding param *
     *
     * @return the executor sharding param
     */
    public String getExecutorShardingParam() {
        return executorShardingParam;
    }

    /**
     * Sets executor sharding param *
     *
     * @param executorShardingParam executor sharding param
     */
    public void setExecutorShardingParam(String executorShardingParam) {
        this.executorShardingParam = executorShardingParam;
    }

    /**
     * Gets executor fail retry count *
     *
     * @return the executor fail retry count
     */
    public int getExecutorFailRetryCount() {
        return executorFailRetryCount;
    }

    /**
     * Sets executor fail retry count *
     *
     * @param executorFailRetryCount executor fail retry count
     */
    public void setExecutorFailRetryCount(int executorFailRetryCount) {
        this.executorFailRetryCount = executorFailRetryCount;
    }

    /**
     * Gets trigger time *
     *
     * @return the trigger time
     */
    public Date getTriggerTime() {
        return triggerTime;
    }

    /**
     * Sets trigger time *
     *
     * @param triggerTime trigger time
     */
    public void setTriggerTime(Date triggerTime) {
        this.triggerTime = triggerTime;
    }

    /**
     * Gets trigger code *
     *
     * @return the trigger code
     */
    public int getTriggerCode() {
        return triggerCode;
    }

    /**
     * Sets trigger code *
     *
     * @param triggerCode trigger code
     */
    public void setTriggerCode(int triggerCode) {
        this.triggerCode = triggerCode;
    }

    /**
     * Gets trigger msg *
     *
     * @return the trigger msg
     */
    public String getTriggerMsg() {
        return triggerMsg;
    }

    /**
     * Sets trigger msg *
     *
     * @param triggerMsg trigger msg
     */
    public void setTriggerMsg(String triggerMsg) {
        this.triggerMsg = triggerMsg;
    }

    /**
     * Gets handle time *
     *
     * @return the handle time
     */
    public Date getHandleTime() {
        return handleTime;
    }

    /**
     * Sets handle time *
     *
     * @param handleTime handle time
     */
    public void setHandleTime(Date handleTime) {
        this.handleTime = handleTime;
    }

    /**
     * Gets handle code *
     *
     * @return the handle code
     */
    public int getHandleCode() {
        return handleCode;
    }

    /**
     * Sets handle code *
     *
     * @param handleCode handle code
     */
    public void setHandleCode(int handleCode) {
        this.handleCode = handleCode;
    }

    /**
     * Gets handle msg *
     *
     * @return the handle msg
     */
    public String getHandleMsg() {
        return handleMsg;
    }

    /**
     * Sets handle msg *
     *
     * @param handleMsg handle msg
     */
    public void setHandleMsg(String handleMsg) {
        this.handleMsg = handleMsg;
    }

    /**
     * Gets alarm status *
     *
     * @return the alarm status
     */
    public int getAlarmStatus() {
        return alarmStatus;
    }

    /**
     * Sets alarm status *
     *
     * @param alarmStatus alarm status
     */
    public void setAlarmStatus(int alarmStatus) {
        this.alarmStatus = alarmStatus;
    }

}
